var objInd;
var currentPosition;

function AROInit(){
	currentPosition = new Object();
	checkPoints.loadCheckPointsData();
	
	
	objInd = 0;
	initialStatus(objInd);
	map.init();
	
	compass.initialCanvas();
	
	setInterval(ARODraw,100);
}
function ARODraw(){
	var a = navigator.geolocation.getCurrentPosition(positionCallBack);
}
function positionCallBack(position){
	var dist = Geolocation.haversine(position.coords,checkPoints.checkPointsList[objInd]);
	setColor(dist);
}
